package com.funsport.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 微信登录请求
 */
@Data
@Schema(description = "微信登录请求")
public class WeChatLoginRequest {

    @NotBlank(message = "code不能为空")
    @Schema(description = "微信登录code", required = true)
    private String code;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "性别：0-未知，1-男，2-女")
    private Integer gender;
}

